Skip to content

Conversation

@elastic-renovate-prod
Copy link
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Jun 26, 2025

This PR contains the following updates:

Package Type Update Change
@rspack/cli (source) devDependencies minor 1.3.15 -> 1.5.8
@rspack/core (source) devDependencies minor 1.3.15 -> 1.5.8

Release Notes

web-infra-dev/rspack (@​rspack/cli)

v1.5.8

Compare Source

Highlights 💡
Enhanced Tree Shaking for Nested Exports in Destructuring

Rspack now supports more precise tree shaking for nested exports accessed through destructuring assignments.

// lib.js
export * as a from "./a";
export * as b from "./b";

// index.js
import * as lib from "./lib";
// Before: All exports under `lib.a` were retained, only `lib.b` was tree-shaken
// Now: Only the specific property `inner` from `lib.a` is kept; everything else is removed
const { a: { inner } } = lib;
What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.7...v1.5.8

v1.5.7

Compare Source

Highlights 💡
Improved Tree Shaking for Dynamic Import .then()

This release enhances tree shaking capabilities specifically for the .then() callbacks of dynamic imports. Rspack can now statically analyze and eliminate unused exports when destructuring is performed on the resolved module within promise chains:

// Tree shaking now works for destructuring in .then() callbacks
import('./utils').then(module => {
  const { usedFunction } = module; // Only usedFunction will be included
  usedFunction();
  // unusedFunction will be tree-shaken out
});
JSX Preserve Support

Rspack now supports parsing and preserving JSX syntax. This allows JSX syntax to be parsed without transformation, making it compatible with external JSX transformers.

// rspack.config.js
export default {
  module: {
    parser: {
      javascript: {
        jsx: true // Enable JSX parsing
      }
    },
    rules: [
      {
        test: /\.jsx?$/,
        use: {
          loader: 'swc-loader',
          options: {
            jsc: {
              parser: { jsx: true },
              transform: {
                // Preserve JSX syntax
                react: { runtime: 'preserve' }
              }
            }
          }
        }
      }
    ]
  }
};
What's Changed
New Features 🎉
Bug Fixes 🐞
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.5.6...v1.5.7

v1.5.6

Compare Source

What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.5...v1.5.6

v1.5.5

Compare Source

What's Changed
Bug Fixes 🐞
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.5.4...v1.5.5

v1.5.4

Compare Source

What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.3...v1.5.4

v1.5.3

Compare Source

Highlights 💡
Advanced tree-shaking

Rspack v1.5.3 ships advanced tree-shaking for dynamic imports via member expression analysis.

Ongoing improvements are in progress, and upcoming releases will continue to improve static analysis to cover more syntax patterns, such as dynamic import with a subsequent .then().

image
What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.2...v1.5.3

v1.5.2

Compare Source

What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.5.1...v1.5.2

v1.5.1

Compare Source

What's Changed
Performance Improvements ⚡
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v1.5.0...v1.5.1

v1.5.0

Compare Source

rspack-banner-v1-5
🎉 See Announcing Rspack 1.5 for more details.
What's Changed
Breaking changes 💡
Performance Improvements ⚡
New Features 🎉

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 93da62c to f46b1a8 Compare June 28, 2025 03:02
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.0 Update rspack monorepo to v1.4.1 Jun 28, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from f46b1a8 to e79a9d0 Compare July 2, 2025 21:50
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.1 Update rspack monorepo to v1.4.2 Jul 2, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from e79a9d0 to cb04a63 Compare July 4, 2025 23:53
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.2 Update rspack monorepo to v1.4.3 Jul 4, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from cb04a63 to 53408e9 Compare July 6, 2025 02:55
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.3 Update rspack monorepo to v1.4.4 Jul 6, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 53408e9 to 9a7f895 Compare July 10, 2025 17:56
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.4 Update rspack monorepo to v1.4.6 Jul 10, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 9a7f895 to 5b0115a Compare July 16, 2025 01:45
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.6 Update rspack monorepo to v1.4.8 Jul 16, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 5b0115a to 64fb163 Compare July 23, 2025 01:29
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.8 Update rspack monorepo to v1.4.9 Jul 23, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 64fb163 to 2e5041c Compare July 25, 2025 00:07
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.9 Update rspack monorepo to v1.4.10 Jul 25, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 2e5041c to b7e21e4 Compare August 2, 2025 00:38
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.10 Update rspack monorepo to v1.4.11 Aug 2, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from b7e21e4 to 7e40559 Compare August 29, 2025 03:13
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.4.11 Update rspack monorepo to v1.5.1 Aug 29, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 7e40559 to 6e29a7d Compare September 5, 2025 11:27
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.1 Update rspack monorepo to v1.5.2 Sep 5, 2025
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.2 Update rspack monorepo to v1.5.3 Sep 12, 2025
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.3 Update rspack monorepo to v1.5.4 Sep 15, 2025
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.4 Update rspack monorepo to v1.5.2 Sep 20, 2025
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.2 Update rspack monorepo to v1.5.3 Sep 25, 2025
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.3 Update rspack monorepo to v1.5.4 Sep 30, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 13636c4 to 75afcfc Compare October 2, 2025 15:50
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.4 Update rspack monorepo to v1.5.5 Oct 2, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 75afcfc to 094cd7b Compare October 8, 2025 02:29
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.5 Update rspack monorepo to v1.5.6 Oct 8, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from 094cd7b to ee7d97f Compare October 10, 2025 04:06
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.6 Update rspack monorepo to v1.5.7 Oct 10, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/rspack-monorepo branch from ee7d97f to fa77c93 Compare October 16, 2025 06:14
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update rspack monorepo to v1.5.7 Update rspack monorepo to v1.5.8 Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants